Groups the data by the specified columns and directions.
Syntax
'Declaration
Public Overloads Sub GroupBy( _
ByVal ParamArray columns() As System.Collections.Generic.KeyValuePair(Of DataGridColumn,DataGridSortDirection) _
)
public void GroupBy(
params System.Collections.Generic.KeyValuePair<DataGridColumn,DataGridSortDirection>[] columns
)
Parameters
- columns
- Pairs of columns and group directions.
Exceptions
Exception | Description |
DataGridGroupException | This exception is raised whether the collection view is not ready to execute a group operation. |
See Also